package com.aric.springbootmusic.entity.param;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
public class FindMusicParam {
    private String keyword;
    @NotNull(message = "当前页码不能为空")
    private Integer currentPage;
    @NotNull(message = "每页的条数不能为空")
    private Integer pageSize;
}
